package com.nikolaj.kuzan.utils;

/**
 * Created by Nikolay on 08.05.14.
 */
public class CharToDouble {
    public static Double getDoubleFromChar(char a){
        Double d = 8.0;
        switch (a){
            case 48: {d = 0.0;} break;
            case 49: {d = 1.0;} break;
        }
        return d;
    }
}
